/**
 * Created by lee_mxue on 17/4/5.
 */
import React from "react";
import ReactDOM from "react-dom";
import { addErrorListener } from "../../lib/handleError"
import weixinShare from "../../lib/weixinShare"
import AJAX from "../../lib/ajax"

require('../../lib/rem');
require('./NoSendingServer.less');


class App extends React.Component {
    constructor(props) {
        super(props);
        this.state = {}
    }

    componentWillMount() {
        addErrorListener()()
        weixinShare.hideAll();
    }

    componentDidMount() {
        AJAX.appendBaiduAnalysis()
    }


    render() {
        return (
            <img src="//wechat.jinlb.cn/assets/images/noserver.png" alt=""/>
        )
    }
}

ReactDOM.render(<App />, document.getElementById('app'));
if (module.hot) {
    module.hot.accept();
}
